<!-- head - 开始 -->
<? require('public/head.html'); ?>
<!-- head - 结束 -->

</head>

<body class="authentication-bg">

<div id="login" class="account-pages mt-5 mb-5">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-5">
                <div class="card">
                    
                    <!-- Logo - 开始 -->
                    <div class="card-header pt-4 pb-4 text-center bg-primary">
                        <a href="/">
                            <span><img src="<?= __ADMIN_IMG__.'logo-1.png'; ?>" alt="" height="30"></span>
                        </a>
                    </div>
                    <!-- Logo - 结束 -->
                    
                    <div class="card-body p-4">
                        
                        <div class="text-center w-75 m-auto">
                            <h4 class="text-dark-50 text-center mt-0 font-weight-bold">登录</h4>
                            <p class="text-muted mb-4">请输入帐号密码进行登录！</p>
                        </div>
                        
                        <div class="form-group">
                            <label>帐号：</label>
                            <input class="form-control" type="text" v-model="account" placeholder="帐号/邮箱/手机号">
                        </div>
                        
                        <div class="form-group">
                            <!--<a href="reset.html" class="text-muted float-right"><small>找回密码</small></a>-->
                            <label>密码：</label>
                            <input v-on:keyup.enter="btnLogin()" class="form-control" type="password" v-model="password" placeholder>
                        </div>
                        
                        <div class="form-group mb-3">
                            <div class="custom-control custom-checkbox pl-0">
                                <label v-if="false">找回密码</label>
                                <span style="font-weight: bold;float: right">
                                    <a href="register.html" style="color: #6c757d">注册帐号</a>
                                </span>
                            </div>
                        </div>
                        
                        <div class="form-group mb-0 flex-center">
                            <button type="button" class="btn btn-block btn-primary" v-on:click="btnLogin()">
                                <div v-if="is_login" class="spinner-border text-light mr-1" role="status"></div>
                                {{ (is_login) ? '登录中 ...' : '登&nbsp;&nbsp;录' }}
                            </button>
                        </div>
                        
                        <div v-if="false" class="button-list mt-3 text-center">
                            <button onclick="window.location.href='//api.inis.cn/oauth/login?type=qq'" type="button" class="btn btn-icon btn-light">
                                <svg t="1618998680857" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2014" width="24" height="24"><path d="M511.500488 512.499512m-511.500488 0a511.500488 511.500488 0 1 0 1023.000976 0 511.500488 511.500488 0 1 0-1023.000976 0Z" fill="#1BC1FA" p-id="2015"></path><path d="M784.234146 572.440976c8.178014 0 16.273108 0.253752 24.282287 0.728288-16.961436-38.434466-42.247742-69.886751-58.977405-90.331785 2.822244-8.482716 11.30496-56.536788-25.443153-90.453666v-2.827239c0-132.850263-96.103149-231.785647-214.822213-231.785647-118.717065 0-214.82521 96.107145-214.825209 231.785647v2.827239c-33.915879 33.915879-25.437159 81.969951-19.782681 90.453666-25.444152 28.265397-73.49223 87.62343-76.320469 155.461182 0 16.961436 2.827239 45.226833 11.305959 56.531794 11.305959 14.133198 39.570357-2.827239 62.186272-48.054073 5.650482 19.788675 19.78368 53.709549 50.876316 93.281905-50.876316 11.302962-65.009514 62.186271-48.049077 90.450669 11.305959 19.788675 39.570357 33.920874 87.624429 33.920874 78.496343 0 115.815899-19.378076 134.378771-35.711126C492.644901 814.680414 490.520976 800.136617 490.520976 785.233171c0-117.522232 131.500581-212.792195 293.71317-212.792195z" fill="#FFFFFF" p-id="2016"></path><path d="M514.925143 819.204995c5.654478 0 11.309955 2.82624 14.132199 5.649483 16.960437 16.960437 53.709549 39.575352 138.50674 39.575352 48.054072 0 76.320468-16.960437 87.625428-33.920874 16.960437-28.264398 2.827239-79.147707-48.054072-90.450669 31.092636-39.572355 45.225834-73.493229 50.881311-93.281905 19.787676 45.226833 50.881311 62.18727 62.186271 48.054073 2.827239-11.30496 5.650482-39.570357 5.650482-56.531794-1.93511-23.223321-8.508691-45.121936-17.337069-65.128398-8.009179-0.475536-16.104273-0.729288-24.282287-0.729287-162.212589 0-293.713171 95.269963-293.71317 212.792195 0 14.903446 2.123926 29.447243 6.147996 43.485533a88.18688 88.18688 0 0 0 4.122973-3.864226c2.827239-2.823243 8.481717-5.649483 14.133198-5.649483z" fill="#FFFFFF" opacity=".4" p-id="2017"></path></svg>
                            </button>
                            <button type="button" class="btn btn-icon btn-success">
                                <svg t="1619012971258" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2829" width="24" height="24"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#E9F4FF" p-id="2830"></path><path d="M245.3248 582.4512C186.112 538.88 153.6 484.352 153.6 421.12 153.6 299.3408 274.432 204.8 421.2992 204.8c130.1504 0 245.3504 74.24 269.2352 177.3056l8.0896 34.8928-35.6096-3.6352a203.1872 203.1872 0 0 0-20.8128-1.2032c-101.0688 0-180.1728 68.5056-180.224 151.8848 0 13.0048 2.1504 26.0608 6.3232 39.3984l9.728 30.9504-32.384 2.2272a293.632 293.632 0 0 1-70.4768-2.9184 659.6096 659.6096 0 0 1-20.0704-3.456l-15.2064-2.8672-132.7872 61.6192 38.2208-106.5472zM421.2992 256C300.3392 256 204.8 330.752 204.8 421.12c0 49.7664 28.7488 93.3632 85.1968 129.9456l17.024 11.0336-10.368 28.9024 36.48-16.9216 7.9872 1.4592 3.072 0.5632 20.2752 3.7888c7.424 1.3824 13.0816 2.3808 18.5344 3.2256 10.5472 1.6128 19.9168 2.6112 29.2352 3.0208a173.0304 173.0304 0 0 1-1.4336-22.0928c0.0512-109.312 96.1536-196.5312 217.5488-202.752C595.456 300.032 513.792 256 421.2992 256z" fill="#000000" p-id="2831"></path><path d="M760.0384 695.2448C798.5152 665.7024 819.2 632.8832 819.2 602.8032 819.2 541.824 754.7648 486.4 678.5024 486.4 598.4768 486.4 537.6 539.8528 537.6 602.8032c0 63.104 60.8 116.3776 140.9024 116.3776 13.056 0 25.8304-2.432 55.04-9.9328l12.3904-3.1744 14.08-10.8288zM870.4 602.8032c0 52.0704-33.8176 98.2016-79.1808 133.0432L808.2176 793.6l-61.952-34.7392c-22.5792 5.7856-45.2608 11.52-67.7632 11.52-107.4688 0-192.1024-75.008-192.1024-167.5776C486.4 510.464 571.008 435.2 678.5024 435.2 780.0064 435.2 870.4 510.464 870.4 602.8032z" fill="#2394FB" p-id="2832"></path><path d="M611.5328 588.8c-11.264 0-22.7328-12.672-22.7328-25.6 0-12.7488 11.4432-25.6 22.7328-25.6 17.2544 0 28.4672 12.8512 28.4672 25.6 0 12.928-11.2128 25.6-28.4672 25.6zM739.456 588.8c-11.2128 0-22.656-12.672-22.656-25.6 0-12.7488 11.392-25.6 22.656-25.6 17.152 0 28.544 12.8512 28.544 25.6 0 12.928-11.392 25.6-28.544 25.6z" fill="#2C99FC" p-id="2833"></path><path d="M335.2064 384C321.2544 384 307.2 373.7344 307.2 358.4c0-15.4368 14.0544-25.6 28.0064-25.6 13.9264 0 23.1936 10.1376 23.1936 25.6 0 15.3344-9.2672 25.6-23.1936 25.6zM488.8064 384C474.8544 384 460.8 373.7344 460.8 358.4c0-15.4368 14.0544-25.6 28.0064-25.6 13.9264 0 23.1936 10.1376 23.1936 25.6 0 15.3344-9.2672 25.6-23.1936 25.6z" fill="#000000" p-id="2834"></path></svg>
                            </button>
                            <button onclick="window.location.href='//api.inis.cn/oauth/login?type=dingtalk'" type="button" class="btn btn-icon btn-info">
                                <svg t="1619197130005" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1539" data-spm-anchor-id="a313x.7781069.0.i1" width="24" height="24"><path d="M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z" fill="#ffffff" p-id="1540" data-spm-anchor-id="a313x.7781069.0.i0" class="selected"></path></svg>
                            </button>
                        </div>
                        
                    </div>
                </div>
                
            </div>
        </div>
    </div>
    <!-- 页脚组件 - 开始 -->
    <i-footer />
    <!-- 页脚组件 - 结束 -->
</div>

<script src="<?= __ADMIN_JS__.'app.min.js'; ?>"></script>
<script src="<?= __ADMIN_JS__.'vue/login.js?v='.__VERSION__; ?>"></script>

</body>
</html>
